﻿using System;
using System.Web.UI;
using HiTeachers.Services;

namespace HiTeachers.Web
{
    public partial class Faqs : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Page.IsPostBack) return;

            rptFaQs.DataSource = StaticPageServices.GetFaqs();
            rptFaQs.DataBind();

            BindingMetaData("FAQs");
            var siteConfig = SiteConfigServices.GetByTextKey("FAQs");
            if (siteConfig != null) Page.Title = siteConfig.Value;
        }
    }
}
